/**
* <p> title �� IScheduleService.java</p>
* <p> package �� cn.edu.hit.education.service</p>
* <p> description ��TODO</p>
* <p> copyright �� ��������ҵ��ѧ(C) 2019</p>
* <p> company �� ��������ҵ��ѧAS&MT</p>
* <p> author �� ��ѩ�� jinxuesong@163.com</p>
* <p> date �� 2021��4��21�� ����3:00:32</p>
* <p> version �� v1.0 </p>
*
* Modification  History:
* Date         Author        Version        Discription
* -----------------------------------------------------------------------------------
* 2021��4��21��       ��ѩ��          1.0             1.0
* Why & What is modified: <�޸�ԭ������>
*/
package cn.edu.hit.education.service;

import java.util.List;

import cn.edu.hit.education.pojo.ExSchedule;
import cn.edu.hit.education.pojo.Schedule;

public interface IScheduleService {

	int insert(Schedule schedule);
	
	int deleteByPrimaryKey(int id);
	
	int update(Schedule schedule);
	
    Schedule qurySchedule(int courseId);
	
	List<Schedule> queryAllSchedule();
	
	List<Schedule> querySchedulesBySpecialtyId(int specialtyId,int opened);
	
	List<Schedule> querySchedulesBySpecialtySemesterId(int specialtyId, int semesterId);
	
	List<Schedule> querySchedulesBySpecialtySemesterCourseId(int specialtyId, int semesterId,int courseId);
	
	List<Schedule> querySchedulesBySpecialtyCourseId(int specialtyId, int courseId);
	
	void statisticsSchedule(int specialtyId,int opened);

	List<Schedule> querySchedulesBySemesterCourseId(Integer semesterId, Integer courseId);

	List<Schedule> querySchedulesBySemesterId(int semesterId);

	List<Schedule> querySchedulesBySCourseId(Integer courseId);
	
	List<ExSchedule> queryExSchedulesBySpecialtySemesterId(int specialtyId, int semesterId);
	
}
